package com.jckj.core.service;

import com.jckj.core.entity.ArticalAttachmentKey;

/**
 * Created by Administrator on 2018/1/27.
 * @author :liukuan
 * @date:2018-01-27
 *
 */
public interface ArticalAttachmentService {

    /**
     * 添加文章附件信息
     * @param articalAttachmentKey
     * @return
     */
    public int insert(ArticalAttachmentKey articalAttachmentKey);

    /**
     * 修改附件信息
     * @param articalId
     * @param attachmentId
     * @return
     */
    public int update(String articalId,String attachmentId);

    /**
     * 删除附件信息
     * @param articalId
     * @return
     */
    public int delete(String articalId);


}
